#!/bin/bash

for((i = 2; i < 5; i++)); do
	for((j = i+1; j <= 5; j++)); do
		echo Trocas entre $i e $j
		diff -y log0${i}.txt log0${j}.txt | grep ">" | wc -l
	done
done
